from rest_framework import serializers
from .models import audio, voiceprint, recorder, test


class AudioSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = audio
        fields = "__all__"


class VoiceprintSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = voiceprint
        fields = "__all__"


class RecorderSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = recorder
        fields = "__all__"


class TestSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = test
        fields = "__all__"
